lib/commit: Fix EBADF with GENERATE_SIZES option for commit
authorColin Walters <walters@verbum.org>
Wed, 19 Jul 2017 13:19:16 +0000 (09:19 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 20 Jul 2017 14:01:11 +0000 (14:01 +0000)
commitf9f7d55e7954ebde075c1afd18256d3c017feacd
treeda71618ec8df7dceb0388df61fc640d3ee3df71a
parentebbd0b3ce6b50b4e5a1cc2d1ec550d05dfeb04f4
lib/commit: Fix EBADF with GENERATE_SIZES option for commit

Regression from previous tmpfile refactoring; unfortunately
the `OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES` option
only has coverage via gjs currently.

Might expose it via the cmdline in a later option, but in the big picture the
idea was that this data is better kept in static deltas.

Closes: https://github.com/ostreedev/ostree/issues/1014
Closes: #1016
Approved by: jlebon
src/libostree/ostree-repo-commit.c